import { Module } from '@nestjs/common';
import { AuthController } from './auth.controller';
import { AuthService } from './auth.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SysUser } from '../02_user/entities/user.entity';
import { JwtUtils } from './jwt.utils';
import { IBaseService } from '../00_base/IBaseService';
import { JwtService } from '@nestjs/jwt';
import { IBaseEntity } from '../00_base/IBaseEntity';

@Module({
  imports: [TypeOrmModule.forFeature([SysUser, IBaseEntity])],
  controllers: [AuthController],
  providers: [AuthService, JwtService, JwtUtils, IBaseService],
})
export class AuthModule {}
